﻿namespace CodedUITestProject1
{
    using System;
    using System.CodeDom.Compiler;
    using System.Collections.Generic;
    using System.Drawing;
    using System.Text.RegularExpressions;
    using System.Windows.Input;
    using Microsoft.VisualStudio.TestTools.UITest.Extension;
    using Microsoft.VisualStudio.TestTools.UITesting;
    using Microsoft.VisualStudio.TestTools.UITesting.WinControls;
    using Microsoft.VisualStudio.TestTools.UnitTesting;
    using Keyboard = Microsoft.VisualStudio.TestTools.UITesting.Keyboard;
    using Mouse = Microsoft.VisualStudio.TestTools.UITesting.Mouse;
    using MouseButtons = System.Windows.Forms.MouseButtons;


    public partial class UIMap
    {

        private AssertStartOverButtonExpectedValues mAssertStartOverButtonExpectedValues;

        public virtual AssertStartOverButtonExpectedValues AssertStartOverButtonExpectedValues
        {
            get
            {
                if ((this.mAssertStartOverButtonExpectedValues == null))
                {
                    this.mAssertStartOverButtonExpectedValues = new AssertStartOverButtonExpectedValues();
                }
                return this.mAssertStartOverButtonExpectedValues;
            }
        }

        /// <summary>
        /// AssertStartOverButton - Use 'AssertStartOverButtonExpectedValues' to pass parameters into this method.
        /// </summary>
        public void AssertStartOverButton()
        {
            #region Variable Declarations
            WinEdit uIFactoryTireWidthEdit = this.UITireComparisonToolWindow.UIFactoryTireWidthWindow.UIFactoryTireWidthEdit;
            WinEdit uIFactoryTirePercentEdit = this.UITireComparisonToolWindow.UIFactoryTirePercentWindow.UIFactoryTirePercentEdit;
            WinEdit uIFactoryTireRimEdit = this.UITireComparisonToolWindow.UIFactoryTireRimWindow.UIFactoryTireRimEdit;
            WinEdit uINewTireWidthEdit = this.UITireComparisonToolWindow.UINewTireWidthWindow.UINewTireWidthEdit;
            WinEdit uINewTirePercentEdit = this.UITireComparisonToolWindow.UINewTirePercentWindow.UINewTirePercentEdit;
            WinEdit uINewTireRimEdit = this.UITireComparisonToolWindow.UINewTireRimWindow.UINewTireRimEdit;
            WinText uIFactoryTireWidthInchText = this.UITireComparisonToolWindow.UIItem88583Window.UIFactoryTireWidthInchText;
            WinText uIRevsperMileText = this.UITireComparisonToolWindow.UIItem35433Window.UIRevsperMileText;
            WinText uIFactoryTireHeightIncText = this.UITireComparisonToolWindow.UIItem260866Window.UIFactoryTireHeightIncText;
            WinText uIFactoryTireCircumIncText = this.UITireComparisonToolWindow.UIItem819535Window.UIFactoryTireCircumIncText;
            WinText uIFactoryTireRevsPerMiText = this.UITireComparisonToolWindow.UIFactoryTireRevsPerMiWindow.UIFactoryTireRevsPerMiText;
            WinText uINewTireWidthInchesText = this.UITireComparisonToolWindow.UIItem96457Window.UINewTireWidthInchesText;
            WinText uINewTireSidewallIncheText = this.UITireComparisonToolWindow.UIItem38583Window.UINewTireSidewallIncheText;
            WinText uINewTireHeightInchesText = this.UITireComparisonToolWindow.UIItem267166Window.UINewTireHeightInchesText;
            WinText uINewTireCircumInchesText = this.UITireComparisonToolWindow.UIItem839327Window.UINewTireCircumInchesText;
            WinText uINewTireRevsPerMileText = this.UITireComparisonToolWindow.UINewTireRevsPerMileWindow.UINewTireRevsPerMileText;
            WinEdit uIItemEdit = this.UITireComparisonToolWindow.UIItem70Window.UIItemEdit;
            WinText uISpeedometerText = this.UITireComparisonToolWindow.UINewTireSpeedWindow.UISpeedometerText;
            WinText uISuspensionLiftRequirText = this.UITireComparisonToolWindow.UISuspensionLiftRequirWindow.UISuspensionLiftRequirText;
            #endregion

            // Verify that the 'Text' property of 'factoryTireWidth' text box equals '""'
            Assert.AreEqual(this.AssertStartOverButtonExpectedValues.UIFactoryTireWidthEditText, uIFactoryTireWidthEdit.Text);

            // Verify that the 'Text' property of 'factoryTirePercent' text box equals '""'
            Assert.AreEqual(this.AssertStartOverButtonExpectedValues.UIFactoryTirePercentEditText, uIFactoryTirePercentEdit.Text);

            // Verify that the 'Text' property of 'factoryTireRim' text box equals '""'
            Assert.AreEqual(this.AssertStartOverButtonExpectedValues.UIFactoryTireRimEditText, uIFactoryTireRimEdit.Text);

            // Verify that the 'Text' property of 'newTireWidth' text box equals '""'
            Assert.AreEqual(this.AssertStartOverButtonExpectedValues.UINewTireWidthEditText, uINewTireWidthEdit.Text);

            // Verify that the 'Text' property of 'newTirePercent' text box equals '""'
            Assert.AreEqual(this.AssertStartOverButtonExpectedValues.UINewTirePercentEditText, uINewTirePercentEdit.Text);

            // Verify that the 'Text' property of 'newTireRim' text box equals '""'
            Assert.AreEqual(this.AssertStartOverButtonExpectedValues.UINewTireRimEditText, uINewTireRimEdit.Text);

            // Verify that the 'DisplayText' property of 'factoryTireWidthInches' label equals '""'
            Assert.AreEqual(this.AssertStartOverButtonExpectedValues.UIFactoryTireWidthInchTextDisplayText, uIFactoryTireWidthInchText.DisplayText);

            // Verify that the 'DisplayText' property of 'Revs per Mile:' label equals '""'
            Assert.AreEqual(this.AssertStartOverButtonExpectedValues.UIRevsperMileTextDisplayText, uIRevsperMileText.DisplayText);

            // Verify that the 'DisplayText' property of 'factoryTireHeightInches' label equals '""'
            Assert.AreEqual(this.AssertStartOverButtonExpectedValues.UIFactoryTireHeightIncTextDisplayText, uIFactoryTireHeightIncText.DisplayText);

            // Verify that the 'DisplayText' property of 'factoryTireCircumInches' label equals '""'
            Assert.AreEqual(this.AssertStartOverButtonExpectedValues.UIFactoryTireCircumIncTextDisplayText, uIFactoryTireCircumIncText.DisplayText);

            // Verify that the 'DisplayText' property of 'factoryTireRevsPerMile' label equals '""'
            Assert.AreEqual(this.AssertStartOverButtonExpectedValues.UIFactoryTireRevsPerMiTextDisplayText, uIFactoryTireRevsPerMiText.DisplayText);

            // Verify that the 'DisplayText' property of 'newTireWidthInches' label equals '""'
            Assert.AreEqual(this.AssertStartOverButtonExpectedValues.UINewTireWidthInchesTextDisplayText, uINewTireWidthInchesText.DisplayText);

            // Verify that the 'DisplayText' property of 'newTireSidewallInches' label equals '""'
            Assert.AreEqual(this.AssertStartOverButtonExpectedValues.UINewTireSidewallIncheTextDisplayText, uINewTireSidewallIncheText.DisplayText);

            // Verify that the 'DisplayText' property of 'newTireHeightInches' label equals '""'
            Assert.AreEqual(this.AssertStartOverButtonExpectedValues.UINewTireHeightInchesTextDisplayText, uINewTireHeightInchesText.DisplayText);

            // Verify that the 'DisplayText' property of 'newTireCircumInches' label equals '""'
            Assert.AreEqual(this.AssertStartOverButtonExpectedValues.UINewTireCircumInchesTextDisplayText, uINewTireCircumInchesText.DisplayText);

            // Verify that the 'DisplayText' property of 'newTireRevsPerMile' label equals '""'
            Assert.AreEqual(this.AssertStartOverButtonExpectedValues.UINewTireRevsPerMileTextDisplayText, uINewTireRevsPerMileText.DisplayText);

            // Verify that the 'Text' property of text box equals '70'
            Assert.AreEqual(this.AssertStartOverButtonExpectedValues.UIItemEditText, uIItemEdit.Text);

            // Verify that the 'DisplayText' property of 'Speedometer:' label equals '""'
            Assert.AreEqual(this.AssertStartOverButtonExpectedValues.UISpeedometerTextDisplayText, uISpeedometerText.DisplayText);

            // Verify that the 'DisplayText' property of 'Suspension Lift Required: N/A' label contains 'N/A'
            StringAssert.Contains(uISuspensionLiftRequirText.DisplayText, this.AssertStartOverButtonExpectedValues.UISuspensionLiftRequirTextDisplayText);
        }

        /// <summary>
        /// AssertMethodNotFilled - Use 'AssertMethodNotFilledExpectedValues' to pass parameters into this method.
        /// </summary>
        public void AssertMethodNotFilled()
        {
            #region Variable Declarations
            WinText uIFactoryTireWidthInchText = this.UITireComparisonToolWindow.UIItem88583Window.UIFactoryTireWidthInchText;
            WinText uINewTireWidthInchesText = this.UITireComparisonToolWindow.UIItem96457Window.UINewTireWidthInchesText;
            #endregion

            // Verify that the 'DisplayText' property of 'factoryTireWidthInches' label equals '""'
            Assert.AreEqual(this.AssertMethodNotFilledExpectedValues.UIFactoryTireWidthInchTextDisplayText, uIFactoryTireWidthInchText.DisplayText);

            // Verify that the 'DisplayText' property of 'newTireWidthInches' label equals '""'
            Assert.AreEqual(this.AssertMethodNotFilledExpectedValues.UINewTireWidthInchesTextDisplayText, uINewTireWidthInchesText.DisplayText);
        }

        public virtual AssertMethodNotFilledExpectedValues AssertMethodNotFilledExpectedValues
        {
            get
            {
                if ((this.mAssertMethodNotFilledExpectedValues == null))
                {
                    this.mAssertMethodNotFilledExpectedValues = new AssertMethodNotFilledExpectedValues();
                }
                return this.mAssertMethodNotFilledExpectedValues;
            }
        }

        private AssertMethodNotFilledExpectedValues mAssertMethodNotFilledExpectedValues;
    }

    /// <summary>
    /// Parameters to be passed into 'AssertStartOverButton'
    /// </summary>
    [GeneratedCode("Coded UITest Builder", "11.0.60315.1")]
    public class AssertStartOverButtonExpectedValues
    {

        #region Fields
        /// <summary>
        /// Verify that the 'Text' property of 'factoryTireWidth' text box equals '""'
        /// </summary>
        public string UIFactoryTireWidthEditText = String.Empty;

        /// <summary>
        /// Verify that the 'Text' property of 'factoryTirePercent' text box equals '""'
        /// </summary>
        public string UIFactoryTirePercentEditText = String.Empty;

        /// <summary>
        /// Verify that the 'Text' property of 'factoryTireRim' text box equals '""'
        /// </summary>
        public string UIFactoryTireRimEditText = String.Empty;

        /// <summary>
        /// Verify that the 'Text' property of 'newTireWidth' text box equals '""'
        /// </summary>
        public string UINewTireWidthEditText = String.Empty;

        /// <summary>
        /// Verify that the 'Text' property of 'newTirePercent' text box equals '""'
        /// </summary>
        public string UINewTirePercentEditText = String.Empty;

        /// <summary>
        /// Verify that the 'Text' property of 'newTireRim' text box equals '""'
        /// </summary>
        public string UINewTireRimEditText = String.Empty;

        /// <summary>
        /// Verify that the 'DisplayText' property of 'factoryTireWidthInches' label equals '""'
        /// </summary>
        public string UIFactoryTireWidthInchTextDisplayText = String.Empty;

        /// <summary>
        /// Verify that the 'DisplayText' property of 'Revs per Mile:' label equals '""'
        /// </summary>
        public string UIRevsperMileTextDisplayText = String.Empty;

        /// <summary>
        /// Verify that the 'DisplayText' property of 'factoryTireHeightInches' label equals '""'
        /// </summary>
        public string UIFactoryTireHeightIncTextDisplayText = String.Empty;

        /// <summary>
        /// Verify that the 'DisplayText' property of 'factoryTireCircumInches' label equals '""'
        /// </summary>
        public string UIFactoryTireCircumIncTextDisplayText = String.Empty;

        /// <summary>
        /// Verify that the 'DisplayText' property of 'factoryTireRevsPerMile' label equals '""'
        /// </summary>
        public string UIFactoryTireRevsPerMiTextDisplayText = String.Empty;

        /// <summary>
        /// Verify that the 'DisplayText' property of 'newTireWidthInches' label equals '""'
        /// </summary>
        public string UINewTireWidthInchesTextDisplayText = String.Empty;

        /// <summary>
        /// Verify that the 'DisplayText' property of 'newTireSidewallInches' label equals '""'
        /// </summary>
        public string UINewTireSidewallIncheTextDisplayText = String.Empty;

        /// <summary>
        /// Verify that the 'DisplayText' property of 'newTireHeightInches' label equals '""'
        /// </summary>
        public string UINewTireHeightInchesTextDisplayText = String.Empty;

        /// <summary>
        /// Verify that the 'DisplayText' property of 'newTireCircumInches' label equals '""'
        /// </summary>
        public string UINewTireCircumInchesTextDisplayText = String.Empty;

        /// <summary>
        /// Verify that the 'DisplayText' property of 'newTireRevsPerMile' label equals '""'
        /// </summary>
        public string UINewTireRevsPerMileTextDisplayText = String.Empty;

        /// <summary>
        /// Verify that the 'Text' property of text box equals '70'
        /// </summary>
        public string UIItemEditText = "70";

        /// <summary>
        /// Verify that the 'DisplayText' property of 'Speedometer:' label equals '""'
        /// </summary>
        public string UISpeedometerTextDisplayText = String.Empty;

        /// <summary>
        /// Verify that the 'DisplayText' property of 'Suspension Lift Required: N/A' label contains 'N/A'
        /// </summary>
        public string UISuspensionLiftRequirTextDisplayText = "N/A";
        #endregion
    }
    /// <summary>
    /// Parameters to be passed into 'AssertMethodNotFilled'
    /// </summary>
    [GeneratedCode("Coded UITest Builder", "11.0.60315.1")]
    public class AssertMethodNotFilledExpectedValues
    {

        #region Fields
        /// <summary>
        /// Verify that the 'DisplayText' property of 'factoryTireWidthInches' label equals '""'
        /// </summary>
        public string UIFactoryTireWidthInchTextDisplayText = String.Empty;

        /// <summary>
        /// Verify that the 'DisplayText' property of 'newTireWidthInches' label equals '""'
        /// </summary>
        public string UINewTireWidthInchesTextDisplayText = String.Empty;
        #endregion
}
}
